package com.example.android.utils.api;

import androidx.lifecycle.LiveData;

import com.example.android.bean.NewsBean;
import com.example.android.bean.PythonBean;
import com.example.android.bean.VideoBean;
import com.github.leonardoxh.livedatacalladapter.Resource;

import java.util.List;

import retrofit2.http.GET;

public interface GetRequest {

    @GET("home_news_list_data.json")
    LiveData<List<NewsBean>> getNewsList();

    @GET("home_ad_list_data.json")
    LiveData<List<NewsBean>> getAdList();


}
